package com.uyaer.engine.loader
{
	

	public class MyLoaderInfo
	{
		public var mark:String; //标识
		public var url:String; //资源路径
		public var weight:int; //权值(权值越高，下载越靠前 0 - 10)
		public var successFun:Function;
		public var progressFun:Function;
		public var errorFun:Function;
		public var timestamp:Number;
		
		public function MyLoaderInfo(url:String , succFun:Function = null ,weight:int = 5, progressFun:Function = null , errorFun:Function = null)
		{
			this.url = url;
			this.weight = weight;
			this.successFun = succFun;
			this.progressFun = progressFun;
			this.errorFun = errorFun;
			
			mark = URI.parseURI(url).name;
			timestamp = new Date().time;
		}
	}
}